import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import Element from "element-plus";
import "element-plus/dist/index.css";
import {createPinia} from "pinia";
import '@/assets/css/main.css'
import {createPersistedState} from'pinia-persistedstate-plugin'

const pinia = createPinia();
const persist = createPersistedState()
const app = createApp(App);
pinia.use(persist)

app.use(pinia);
app.use(router);
app.use(Element);
app.mount("#app");